<script lang="ts">
    import { useClassList } from "../utils/useClassList";
    import type { ViewProps } from "./View";
    import View from "./View.svelte";

    const props: ViewProps = $props();
    const others = { ...props };
    const classList = $derived(useClassList(props, "cm-v-view"));
    delete others["class"];
</script>

<View class={classList} {...others} />
